

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   bh.java

package com.zelix;

import javax.swing.JEditorPane;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;

// Referenced classes of package com.zelix:
//            b2

final class bh
    implements HyperlinkListener
{

    private final b2 a;
    private static String z;

    bh(b2 b2_1)
    {
        a = b2_1;
    }

    public void hyperlinkUpdate(HyperlinkEvent hyperlinkevent)
    {
        if(hyperlinkevent.getEventType() == javax.swing.event.HyperlinkEvent.EventType.ACTIVATED)
        {
            java.net.URL url = null;
            try
            {
                url = hyperlinkevent.getURL();
                a.m.setPage(url);
            }
            catch(Throwable throwable)
            {
                a.m.setText(throwable.toString() + z + url);
            }
        }
    }
    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x36;
                    break;
                case 1:
                    key = 36;
                    break;
                case 2:
                    key =88;
                    break;
                case 3:
                    key = 120;
                    break;
                default:
                    key =105;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        z = z("\026\036x".toCharArray());
    }
}